a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #65A6EA !important;
}

.step-div ul{
    justify-content: center;
}
.step-div ul li{
    list-style: none;
}

.steps {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    overflow-x: auto;
}
.step:first-of-type .step-circle::before {
    display: none;
}
.step:last-of-type .step-content {
    padding-right: 0;
}

.step-content {
    box-sizing: content-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 5rem;
    min-width: 5rem;
    max-width: 5rem;
    padding-top: 0.5rem;
    padding-right: 1rem;
}

.step-circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #adb5bd;
    border: 2px solid #adb5bd;
    border-radius: 100%;
    background-color: #fff;
}
.step-circle::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: -2px;
    width: calc(5rem + 1rem - 1.5rem);
    height: 2px;
    transform: translate(-100%, -50%);
    color: #adb5bd;
    background-color: currentColor;
}

.step-text {
    color: #adb5bd;
    word-break: break-all;
    margin-top: 0.25em;
}

.step-active .step-circle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.step-active .step-circle::before {
    color: #007bff;
}
.step-active .step-text {
    color: #007bff;
}

.step-error .step-circle {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.step-error .step-circle::before {
    color: #dc3545;
}
.step-error .step-text {
    color: #dc3545;
}

.step-success .step-circle {
    color: #28a745;
    background-color: #fff;
    border-color: #28a745;
}
.step-success .step-circle::before {
    color: #28a745;
}
.step-success .step-text {
    color: #28a745;
}


@media (max-width: 400px) {

    .step-content {
        width: 4.5rem;
        min-width: 4.5rem;
        max-width: 4.5rem;
        padding-top: 0.5rem;
        padding-right: 1rem;
    }

    .step-circle {
        width: 1rem;
        height: 1rem;
        color: #adb5bd;
        border: 1px solid #adb5bd;
    }

    .step-circle::before {
        top: 50%;
        left: -2px;
        width: calc(5rem + 1rem - 1.5rem);
        height: 2px;
        transform: translate(-100%, -50%);
    }

    .step-text {
        font-size: 0.5rem;
    }
}